/*
 * @Author: xiawei 1243162387@qq.com
 * @Date: 2023-12-06 16:32:19
 * @LastEditors: xiawei 1243162387@qq.com
 * @LastEditTime: 2024-04-25 14:54:42
 */
export const getFields = ():any => {
    return [
        {
            type: 'input', prop: 'username', label: '姓名', maxLength: 20, col: 12
        },
        {
            type: 'select', prop: 'jh', label: '是否已婚',options: [{ label: '是', value: 1 }, { label: '否', value: 0 }], col: 12
        },
        {
            type: 'date', prop: 'stateTime', label: '开始时间', dateMaxLimit: 'endTime', col: 12
        },
        {
            type: 'date', prop: 'endTime', label: '结束时间', dateMinLimit: 'stateTime', col: 12
        },
        {
            type: 'checkbox', prop: 'jn', label: '技能', options: [{ label: 'react', value: 1 }, { label: 'vue2', value: 0 }, { label: 'vue3', value: 3 }],  col: 12
        },
        {
            type: 'radio', prop: 'sex', label: '性别', options: [{ label: '男', value: 1 }, { label: '女', value: 0 }], col: 12
        }
    ]
}